
<div class="layui-form" lay-filter="employe-add-form" style="padding: 20px 30px 0 0;">
	
	<div class="layui-form-item">
		<label class="layui-form-label">昵称</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="name"  lay-verify="required" placeholder="请输入昵称" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	
	
	<div class="layui-form-item">
		<label class="layui-form-label">用户账号</label>
		<div class="layui-input-inline">
			<!-- <input type="text" name="userId"  lay-verify="required" placeholder="请输入用户账号" autocomplete="off" class="layui-input"> -->
			<script type="text/html" template>	
				<select name="userId"  lay-search>
				  <option value="">请选择</option>
				  {{console.log(d)}}
				  {{# layui.each(d.params.userlist, function(index, item){     }}
				  	<option value={{item.id}} >{{item.name}}</option>
				  {{# });  }}
				  
				</select>
	  </script>
		</div>
	</div>
	
	
	
	<div class="layui-form-item">
		<label class="layui-form-label">工号</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="workNo"  lay-verify="required" placeholder="请输入工号" autocomplete="off" class="layui-input">
	  </script>
		</div>
	</div>
	
	<div class="layui-form-item">
		<label class="layui-form-label">所属部门</label>
		<div class="layui-input-block">
		 <script type="text/html" template>
		 		<select name="deptId">
				<option value="0"></option>
					{{# layui.each(d.params.deptlist, function(index, item){     }}
						<option value={{item.id}} >{{item.name}}</option>
					{{# });  }}
		 		</select>
		 </script>
		</div>
	</div>
	
	
	<!-- <div class="layui-form-item">
		<label class="layui-form-label">用户账号</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="userId"  lay-verify="required" placeholder="请输入用户账号" autocomplete="off" class="layui-input">
	  </script>
		</div>
	</div> -->

	<div class="layui-form-item">
		<label class="layui-form-label"></label>
		<div class="layui-input-inline">
			<input type="button" lay-submit lay-filter="LAY-employe-back-submit" value="确认" class="layui-btn">
		</div>
	</div>
</div>

<script>
	layui.use(['admin', 'form'], function() {
		var $ = layui.$,
			admin = layui.admin,
			setter = layui.setter,
			laytpl = layui.laytpl,
			form = layui.form;
	});
</script>
